package com.study.group.modules.mongo.service;

import com.study.group.common.entrty.Person;

import java.util.List;

/**
 * @Description 类描述
 * @Author      yanghanwei
 * @Mail        yanghanwei@geotmt.com
 * @Date        2019/4/26 12:02
 * @Version     v1
 **/
public interface PersonService {
    
    List<Person> list();

    Person save(Person person);

    Person getById(String id);

    List<Person> getByName(String name);

    Integer update(Person person);

    Integer delete(Person person);

    Integer deleteById(String id);

}
